﻿using Starzero.Framework.Identity.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OSharp.Identity;
using WebApiClient;
using WebApiClient.Attributes;

namespace ConsoleApp.Services
{
    [TraceFilter]
    [HttpHost("http://localhost:9999/")] // HttpHost������Config���븲��
    public interface IIdentityService: IHttpApi
    {
        [HttpPost("/api/Identity/Jwtoken")]
        [JsonReturn]
        ITask<AjaxResult> Jwtoken([JsonContent]LoginDto dto);

        [HttpGet("/api/Identity/Profile")]
        [JsonReturn]
        ITask<OnlineUser> Profile();
    }
}

